﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Windows.Input;

using System.Windows.Controls;

using System.Windows;




namespace FXnaWpfBase.PropertyGrids.Design
{
    /// <summary>
    /// Specifies a property name presenter.
    /// </summary>
    public sealed class PropertyNameTextBlock : TextBlock
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="PropertyNameTextBlock"/> class.
        /// </summary>
        public PropertyNameTextBlock()
        {
            TextTrimming = TextTrimming.CharacterEllipsis;
            TextWrapping = TextWrapping.NoWrap;
            TextAlignment = TextAlignment.Right;
            VerticalAlignment = VerticalAlignment.Center;
            ClipToBounds = true;

            KeyboardNavigation.SetIsTabStop(this, false);
        }
    }

}
